package appapi.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/05/30 19:28
 */
@Data
public class AnnexType {

    /**
     * 附件上传类型枚举 自检、月检、巡检、整改、维保、进场、工段
     */
    @Getter
    public enum AnnexTypeEnum{
        selfCheck(1),
        monthCheck(2),
        onsiteInspection(3),
        rectification(4),
        maintenan(5),
        mobilization(6),
        dismantl(7),
        section(8);
        private int code;
        private AnnexTypeEnum(int code){
            this.code = code;
        }

        public int getCode() {
            return code;
        }

    }
}
